package com.rbcs.reimb;

import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 在线报销管理常量类.
 */
public final class ReimbConstants {
	private ReimbConstants() {
	}

	/**
	 * 报销单号前缀
	 */
	public static final String REIMB_SINGLE_PREFIX = "BX-";
	
	/**
	 * 出纳支付常量，Cash-现金支付
	 */
	public static final String PAY_TYPE_CASH = "Cash";
	
	/**
	 * 出纳支付常量，Bank-网银支付
	 */
	public static final String PAY_TYPE_BANK = "Bank";
	
	/**
	 * 本部门的报销单
	 */
	public static final String SINGLE_TYPE_REIMB = "0";
	
	/**
	 * 跨部门的父报销单
	 */
	public static final String SINGLE_TYPE_PARENTREIMB = "1";
	
	/**
	 * 跨部门的子报销单
	 */
	public static final String SINGLE_TYPE_CHILDREIMB = "2";
	
  /** 
   * 出纳支付类型Map 
  */
  public static final Map<String, String> PAY_TYPE_MAP = Collections
      .synchronizedMap(new LinkedHashMap<String, String>());
  static {
  	PAY_TYPE_MAP.put(PAY_TYPE_CASH, "现金支付");
  	PAY_TYPE_MAP.put(PAY_TYPE_BANK, "网银支付");
  }

  /** 
   * 借款报销统计类型Map 
  */
  public static final Map<String, String> COUNT_TYPE_MAP = Collections
      .synchronizedMap(new LinkedHashMap<String, String>());
  static {
  	COUNT_TYPE_MAP.put("1", "个人");
  	COUNT_TYPE_MAP.put("2", "部门");
  	COUNT_TYPE_MAP.put("3", "项目");
  }
  
}
